<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html">

    <body>

        <ui:composition template="./templatePrincipal.xhtml">

            <ui:define name="top">
                <p:graphicImage value="/img/2.jpg " width="1300" height="150"/>
            </ui:define>

            <ui:define name="left">
                <h:form>
                    <p:menu>  
                        <p:submenu label="Inicio">  
                            <p:menuitem value="Login" action="Login" icon="ui-icon-home"/>  

                        </p:submenu>  
                        <p:submenu label="Usuarios">  
                            <p:menuitem value="Nuevo" action="UsuarioCrearEditar" icon="ui-icon-document"/>  
                            <p:menuitem value="Lista" action="UsuarioLista" icon="ui-icon-contact"/>    
                        </p:submenu>  
                        <p:submenu label="Maestros">  
                            <p:menuitem value="Nuevo" action="MaestroCrearEditar" icon="ui-icon-document"/>  
                            <p:menuitem value="Lista" action="MaestroLista" icon="ui-icon-contact"/>  
                        </p:submenu>  
                        <p:submenu label="Talleres">  
                            <p:menuitem value="Nuevo" action="TallerCrearEditar" icon="ui-icon-document"/>  
                            <p:menuitem value="Lista" action="TallerLista" icon="ui-icon-contact"/>  
                        </p:submenu>
                        <p:submenu label="Cursos">  
                            <p:menuitem value="Nuevo"  icon="ui-icon-document"/>  
                            <p:menuitem value="Lista"  icon="ui-icon-contact"/>  
                        </p:submenu>
                    </p:menu> 

                </h:form>

            </ui:define>

            <ui:define name="content">
                <p:panel header="Bienvenido">
                    holalallalalal
                    <h:form>
                        <p:accordionPanel>
                            <p:tab title="Danza">
                                <h:panelGrid columns="2" cellpadding="10">

                                    <p:tabView id="tabView">

                                        <p:tab id="tab1" title="Ballet">  
                                            <h:panelGrid columns="2" cellpadding="10">  
                                                <p:graphicImage id="tab1Img" value="/images/godfather/godfather1.jpg" />  
                                                <h:outputText id="tab1Text"  
                                                              value="El ballet." />  
                                            </h:panelGrid>  
                                        </p:tab>  

                                        <p:tab id="tab2" title="Salsa">  
                                            <h:panelGrid columns="2" cellpadding="10">  
                                                <p:graphicImage id="tab2Img" value="/images/godfather/godfather2.jpg" />  
                                                <h:outputText id="tab2Text" value="La salsa."/>  
                                            </h:panelGrid>  
                                        </p:tab>                   
                                    </p:tabView>    
                                </h:panelGrid>
                            </p:tab>
                        </p:accordionPanel>
                        
                         <p:accordionPanel>
                            <p:tab title="Teatro">
                                <h:panelGrid columns="2" cellpadding="10">

                                    <p:tabView id="tabView">

                                        <p:tab id="tab1" title="Occidental">  
                                            <h:panelGrid columns="2" cellpadding="10">  
                                                <p:graphicImage id="tab1Img" value="/images/godfather/godfather1.jpg" />  
                                                <h:outputText id="tab1Text"  
                                                              value="El ballet." />  
                                            </h:panelGrid>  
                                        </p:tab>  

                                        <p:tab id="tab2" title="Clasico">  
                                            <h:panelGrid columns="2" cellpadding="10">  
                                                <p:graphicImage id="tab2Img" value="/images/godfather/godfather2.jpg" />  
                                                <h:outputText id="tab2Text" value="La salsa."/>  
                                            </h:panelGrid>  
                                        </p:tab>                   
                                    </p:tabView>    
                                </h:panelGrid>
                            </p:tab>
                        </p:accordionPanel>



                    </h:form>
                </p:panel>
            </ui:define>

        </ui:composition>

    </body>
</html>
